<?php

return [
    'Customers_id'       => '客户',
    'Purchase_code'      => '单据编号',
    'Purchase_type'      => '类型',
    'Purchase_type 1'    => '销货',
    'Purchase_type 2'    => '退货',
    'Purchase_time'      => '单据日期',
    'Delivery_time'      => '交货时间',
    'Supplyer_code'      => '供应商',
    'Goods_code'         => '商品编号',
    'Goods_note'         => '商品备注',
    'Goods_unit'         => '商品单位',
    'Stores_id'          => '仓库',
    'Allow_stock'        => '可用库存',
    'Number'             => '数量',
    'Default_unit'       => '基本单位',
    'Basic_nmber'        => '基本数量',
    'Unit_price'         => '销售单价',
    'Discount'           => '折扣率',
    'Dis_money'          => '折扣额',
    'All_money'          => '销售金额',
    'Remark'             => '备注',
    'Purchase_order_id'  => '购货订单号',
    'Sales_order_id'     => '销货订单号',
    'Returns_order_id'   => '退货订单号',
    'Preferential_rate'  => '优惠率',
    'Preferential_money' => '优惠额',
    'Real_money'         => '优惠后金额',
    'Preparation_id'     => '制单人',
    'Examine_id'         => '审核人',
    'Operation_id'       => '最后操作人',
    'Status'             => '订单状态',
    'Status 0'           => '未出库',
    'Status 1'           => '全部出库',
    'Status 2'           => '部分出库',
    'Status 3'           => '已取消',
    'Check_status'       => '对单状态',
    'Check_status 0'     => '未对单',
    'Check_status 1'     => '已对单',
    'Examine_status'     => '审核状态',
    'Examine_status 0'   => '未审核',
    'Examine_status 1'   => '已审核',
    'Examine_time'       => '审核时间',
    'Goods_count'        => '购货总数量',
    'Pay_money'          => '已付款金额',
    'Print_num'          => '打印次数',
    'Createtime'         => '创建时间',
    'Updatetime'         => '更新时间',
    'Deletetime'         => '删除时间',
    'Purchase_money'     => '采购费用',
    'Note'               => '备注',
    'Advance_rate'       => '换算率',
    'Purchase_id'        => '关联销货单号',
    'Sale_user'          => '销售员',
    'Receiving_address'  => '收货地址',

    'Tax_included'       => '含税单价',
    'Tax_rate'           => '税率(%)',
    'Tax_money'          => '税额',
    'Money_tax_price'    => '价税合计',
    'Goods_attr'         => '属性',

    // 错误信息
    'error_please_select_customer' => '请选择客户',
    'error_please_select_warehouse' => '请选择仓库',
    'error_please_select_goods_attribute' => '请选择商品属性',
    'error_cannot_edit_approved_data' => '不能编辑已审核的数据',
    'error_cannot_edit_generated_sales_data' => '不能编辑已生成销货单的数据',
    'error_cannot_edit_generated_return_data' => '不能编辑已生成退货单的数据',

    // UI界面文本
    'print' => '打印',
    'examine_f' => '反审核',
    'examine' => '审核',
    'merge_outbound' => '合并出库',
    'generate_sales_order' => '生成销货单',
    'generate_return_order' => '生成退货单',
    'please_select' => '请选择',
    'select_original_document' => '选择原始单据',
    'attached_documents' => '附单据',
    'sheets' => '张',
    'goods' => '商品',
    
    // 新增的验证和错误提示
    'please_fill_detail_data' => '请填写详情数据',
    'please_fill_document_number' => '请填写单据编号',
    'customer_not_exists' => '客户不存在',
    'goods_not_exists' => '商品不存在',
    'document_number_already_used' => '单据编号已占用',
    'selected_original_document_error_please_reselect' => '选择的原始单据有误，请重新选择',
    'cannot_delete_generated_sales_data' => '不能删除已生成销货单的数据',
    'cannot_delete_generated_return_data' => '不能删除已生成退货单的数据',
    // 新增的多语言配置项
    'Add' => '添加',
    'Edit' => '编辑',
    'Please_select_data_to_delete' => '请选择要删除的数据',
    'Please_select_data_to_print' => '请选择要打印的数据',
    'System_error_please_refresh' => '系统错误，请刷新后再试',
    'Please_select_data_to_merge_outbound' => '请选择合并出库的数据',
    'Sales_order' => '销货单',
    'Sales_return_order' => '销货退货单',
    'Please_select_customer' => '请选择客户',
    'Select_original_document' => '选择原始单据',
    'Select_goods' => '选择商品',
    'Product_code' => '商品编号',
    'Product_name' => '商品名称',
    'Specification_model' => '规格型号',
    'Unit' => '计量单位',
    'Product_category' => '商品类别',
    'Stock_quantity' => '库存数量',
    'Remark' => '备注',
    'Last_sales_time' => '上次销售时间',
    'Last_sales_price' => '上次销售价',
    'Expected_sales_price' => '预计销售价',
    'Return_order' => '退货单',
    'Keep_at_least_one_data' => '至少保留一条数据！',
    
    // 新增的错误信息
    'cannot_delete_approved_data' => '不能删除已审核的数据',
    'cannot_operate_generated_sales_data' => '不能操作已生成销货单的数据',
    'cannot_reverse_audit_generated_sales_data' => '不能反审核已生成销货单的数据',
    'cannot_operate_generated_return_data' => '不能操作已生成退货单的数据',
    'cannot_reverse_audit_generated_return_data' => '不能反审核已生成退货单的数据',
    'please_select_same_customer_documents' => '请选择相同客户的单据',
    'sales_order_not_approved_cannot_merge_outbound' => '销货订单%s未审核，不可合并出库',
    'please_select_same_type_documents' => '请选择相同类型的单据',
    'sales_order_all_generated_sales_cannot_merge_outbound' => '销货订单%s已全部生成销货单，不可合并出库',
    'sales_order_all_generated_return_cannot_merge_outbound' => '销货订单%s已全部生成退货单，不可合并出库',
    'merge_operation_select_at_least_two_documents' => '合并操作请选择至少两个单据',
    'sales_order_not_approved_cannot_generate_sales' => '此销货订单未审核，不可生成销货单',
    'sales_order_all_generated_sales' => '此销货订单已全部生成销货单',
    'sales_order_not_approved_cannot_generate_return' => '此销货订单未审核，不可生成退货单',
    'sales_order_all_generated_return' => '此销货订单已全部生成退货单'
];
